TEC\Tickets\Commerce\Order_Modifiers\API\Coupons S

Total Complexity 25
Dependencies 15
Dependents 1
Total lines 507
Lines of code 351
Logical lines of code 70
Comment lines 110
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
get_endpoint_args()
A
37 5 91
apply_coupon()
S
44 5 45
remove_coupon()
S
46 5 42
register_routes()
S
44 1 57
create_coupon()
S
52 3 27
get_schema()
S
47 1 44
prepare_coupon_for_response()
S
61 1 13
get_purchaser_information()
S
62 1 11
__construct()
S
73 1 5
get_coupons()
S
67 1 8
validate_coupon()
S
68 1 8